The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.saveDocumentAsTemplate()

 

Find/replace functions

Find/replace functions handle find and replace operations. They cover both basic functionality, such as finding the next instance of a search pattern, and complex replacement operations that require no user interaction.